<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="b" uri="/WEB-INF/tld/blank.tld" %>
<div class="form-group col-md-3">
    <label>所属景区/项目：</label><label>${ticket.scene_name }</label>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-3">
    <label>展示图片：</label>
    <ul class="thumbnails gallery">
    	<c:forEach items="${ticket.imgs }" var="img">
    		<li class='thumbnail'><a style='background:url("${img}")'><img class='grayscale' src='${img }'></a></li>
    	</c:forEach>
    </ul>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-1">
    <label>商品进价：</label><label>${ticket.buyin_price }</label>
</div>
<div class="form-group col-md-1">
    <label>参考市场价：</label><label>${ticket.list_price }</label>
</div>
<div class="form-group col-md-1">
    <label>库存数量：</label><label>${ticket.inventory }</label>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-3">
    <label>有效时间：</label><label>${ticket.from_time }-${ticket.end_time }</label>
</div>
<div class="form-group col-md-3">
    <a href="javascript:;" class="btn btn-default" onclick='viewRelatedTickets("${ticket.ticket_info_id}");'>查看关联票品</a>
    <a href="javascript:;" class="btn btn-default" onclick='viewRelatedLines("${ticket.ticket_info_id}")'>查看关联旅游产品</a>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-6">
	
	<ul class="nav nav-tabs"> 
      <li class="active"><a class="taba" href="#description-panel">票品信息</a></li>
      <li><a class="taba" href="#transportation_info-panel">交通信息</a></li>
      <li><a class="taba" href="#buy_note-panel">订购须知</a></li> 
    </ul>
       
    <div class="tab-content"> 
      <div class="tab-pane active" id="description-panel">
      	  <p>${ticket.description }</p>
      </div> 
      <div class="tab-pane" id="transportation_info-panel">
          <p>${ticket.transportation_info }</p>
      </div>
      <div class="tab-pane" id="buy_note-panel">
          <p>${ticket.buy_note }</p>
      </div>
    </div>
</div>
<div class="clearfix"></div><br>

<div class="form-group col-md-2">
    <label>上架时间：</label>
    <input name="open_time" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="form-control"/>
</div>
<div class="form-group col-md-4">
	<label>有效时间：</label>
    <input name="open_time" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="form-control"/>-
    <input name="open_time" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="form-control"/>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-2">
    <label><b:blank num="2"/>折扣：</label>
    <input name="open_time" type="text" class="form-control"/>
</div>
<div class="form-group col-md-3">
	<label><b:blank num="2"/>售价：</label>
    <input name="open_time" type="text" class="form-control"/>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-3">
	<label>可售数量：</label>
    <input name="open_time" type="text" class="form-control"/>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-4">
	<label>支付方式：</label>
    <input name="open_time" type="checkbox" class="form-control"/>支付宝支付&nbsp;
    <input name="open_time" type="checkbox" class="form-control"/>电子钱包支付&nbsp;
    <input name="open_time" type="checkbox" class="form-control"/>微信支付&nbsp;
    <input name="open_time" type="checkbox" class="form-control"/>红包支付&nbsp;
    <input name="open_time" type="checkbox" class="form-control"/>积分支付&nbsp;
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-5">
	<label>促销政策：</label>
    <input name="open_time" type="checkbox" class="form-control"/>&nbsp;满&nbsp;
    <input type="text" class="form-control">&nbsp;元,减&nbsp;<input type="text" class="form-control">&nbsp;元
    <br>
    <label><b:blank num="5"/></label>
    <input name="open_time" type="checkbox" class="form-control"/>&nbsp;满&nbsp;
    <input type="text" class="form-control">&nbsp;元,送&nbsp;<input type="text" class="form-control">&nbsp;元
    <br>
    <label><b:blank num="5"/></label>
    <input name="open_time" type="checkbox" class="form-control"/>&nbsp;满&nbsp;
    <input type="text" class="form-control">&nbsp;元,打&nbsp;<input type="text" class="form-control">&nbsp;折
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-2">
	<a href="javascript:;" class="btn btn-default" onclick="saveShelf();">保存</a>
</div>
<div class="clearfix"></div><br>